<?php

include_once("PDOConfig.php");
$cfg=new PDOConfig("cms", "1.0", "1");
$page="default";
if ( isset($_GET["page"]) ) 
		$page=$_GET["page"];

$titre=$cfg->get($page, "titre");
$contenu=$cfg->get($page, "contenu");

echo "<H1>".$titre."</H1>";
echo "<hr/><h2>contenu</h2>";
echo "<pre>".$contenu."</pre>";
?>
